#ifndef SKILL_H
#define SKILL_H

#include "xmlitem.h"
#include "level.h"

class Skill : public XMLItem
{
public:
    static const QString KEY_DEFAULT;
    static const QString KEY_ACTION;
    static const QString KEY_EFFORT;
    static const QString KEY_LEVEL;

    Skill(const QMap<QString,QString>& values);
    Skill();
    virtual QString keyValue(const QString &key) const;

    R(QString,action)
    R(QString,isDefault)
    R(QString,effort)
    R(Level,level)
};

#endif // SKILL_H
